<template>
  <a-card>
    <a-tabs>
      <a-tab-pane key="pushInfo" :tab="$t('push_info')">
        <push-info ref="pushInfo" :distributor="this.$route.params.distributor" :hotel-id="this.$route.params.hotelId" ></push-info>
      </a-tab-pane>
      <a-tab-pane key="hotelSetting" :tab="$t('hotel_setting')">
        <hotel-setting ref="hotelSetting" :distributor="this.$route.params.distributor" :hotel-id="this.$route.params.hotelId" ></hotel-setting>
      </a-tab-pane>
      <a-tab-pane key="hotelCommission" :tab="$t('hotel_commission')">
        <hotel-commission ref="hotelCommission" :distributor="this.$route.params.distributor" :hotel-id="this.$route.params.hotelId" ></hotel-commission>
      </a-tab-pane>
      <a-tab-pane key="log" :tab="$t('log')">
        <update-log ref="updateLog" :business-id="this.$route.params.hotelId" :log-type="1" />
      </a-tab-pane>
    </a-tabs>
  </a-card>
</template>

<script>
import HotelCommission from './hotelcommission'
import HotelSetting from './hotelsetting'
import PushInfo from "./pushinfo";
import UpdateLog from '../updatelog/list'

export default {
  name: "DistributorHotelDetail",
  components: { PushInfo, HotelCommission,HotelSetting,UpdateLog },
  i18n: require('../i18n'),
}
</script>

<style scoped>

</style>